package com.ljx.springIOCTest.dao.impl;

import com.ljx.springIOCTest.dao.UserDao;
import lombok.Data;

/**
 * @作者 LJX
 * @日期 2022/12/28 10:32
 */
@Data
public class UserDaoImpl implements UserDao {

    String username;
    String age;

    public UserDaoImpl() {

        System.out.println("==========UserDaoImpl构造方法==========");

    }

    @Override
    public void addUser() {
        System.out.println("。。。。。。。。。。。。dao层添加用户");
        System.out.println("用户名：" + username);
        System.out.println("年龄：" + age);
    }
}
